<ion-header class="hide">
  <ion-navbar>
    <ion-title>全程服务-登录</ion-title>
  </ion-navbar>
</ion-header>
<ion-content padding class="login">
  <div class="login">
    <!--<button style="float:right" (click)="push('RegisterPage')">注册</button>-->
    <div class="login_main" [formGroup]="loginForm" (ngSubmit)="login(loginForm.value, $event)">
      <div class="user_img"><img style="height: 80px;" src="assets/imgs/userPic.png"></div>
      <div class="w12 user_info">
        <div class="user_input mt30 bor_bottom">
          <b>账号</b>
          <input (focus)="hide=true" (blur)="hide=false" type="text" placeholder="请输入账号"
                 formControlName="userId"/>
        </div>
        <div class="user_input bor_bottom">
          <b>密码</b>
          <input (focus)="hide=true" (blur)="hide=false" type="password" placeholder="请输入密码"
                 formControlName="password"/>
        </div>
      </div>
      <!--<div class="w12 mt15">
        &lt;!&ndash;<label class="w06">
            <ion-checkbox mode="ios" class="fl mr5" formControlName="isManager"></ion-checkbox>
            <div class="fl">管理员登录</div>
        </label>&ndash;&gt;
        <div class="w06 float_right">
          <div class="w12 tr font_size_standard font_black_666" (click)="urlPage('MasterForgetPasswordPage')">忘记密码?
          </div>
        </div>
      </div>-->
      <button class="w12 mt25 height_initial lh40 pl20 pr20 font_size_large" ion-button
              (click)="login(loginForm.value, $event)" [disabled]="!loginForm.valid">登 录
      </button>
      <!--<div class="w12 tc mt20 font_size_standard font_black_666" (click)="switchLogin('CustomerLoginPage')" >-->
      <!--普通客户登录-->
      <!--</div>-->
    </div>
    <div *ngIf="!hide" class="login_bq"><img src="assets/imgs/login_bq.png"></div>
  </div>
</ion-content>
